package com.foreverwin.mes.production.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.production.model.CleanData;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 清洁主数据 服务类
 * </p>
 *
 * @author Max
 * @since 2020-02-11
 */
public interface CleanDataService extends IService<CleanData> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<CleanData> selectPage(FrontPage<CleanData> frontPage, CleanData cleanData);

    List<CleanData> selectList(CleanData cleanData);

    /**
     * 查询清洁数据是否存在
     */
    CleanData getCleanData (String site,String workCenter,String CleanName);
}